package com.pvdnc.dxhook;

import java.lang.reflect.Method;

public class NativeHelper {
    static{
        System.loadLibrary("dxhook_native");
        init();
    }

    private static native void init();

    public static native void removeFinalFlag(Method method);

    public static native void setExtendable(Class<?> cls);

    public static native Method replaceMethod(Method source,Method target);

    public static native Class<?> getDeclaringClass(Method method);
}
